home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
176-200
/
183
/
mklib
/
edlib
/
strrpbrk.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-13
|
341b
|
17 lines
/* edlib version 1.0 of 04/08/88 */
#define NULL 0L
char *strrpbrk(str, charset)
char *str, *charset;
{
char *temp;
extern char *index();
temp = str + strlen(str) - 1;
while ( temp != (str - 1) && !index(charset, *temp) )
--temp;
return( (temp != (str - 1)) ? temp : NULL);
}